<%--
  Created by IntelliJ IDEA.
  User: 戴金睿
  Date: 2022/11/20
  Time: 16:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>EShopManager</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="stylesheet" type="text/css" href="static/lib/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="static/stylesheets/theme.css" />
    <link rel="stylesheet" href="static/lib/font-awesome/css/font-awesome.css" />
    <script src="static/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
    <!-- 日期选择器 -->
    <!-- <link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css" /> -->
    <!-- <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> -->
    <!-- <link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css" /> -->
    <!------------>

    <!-- Demo page code -->

    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .brand { font-family: georgia, serif; }
        .brand .first {
            color: #ccc;
            font-style: italic;
        }
        .brand .second {
            color: #fff;
            font-weight: bold;
        }
    </style>


    <!-- <script type="text/javascript">
	    /**日期选择器**/
	    $(function() {
	      $( "#datepicker" ).datepicker();
	    });
    </script> -->
</head>
<body>
<!-- 顶部页面 -->
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>

<div class="navbar">
    <div class="navbar-inner">
        <ul class="nav pull-right">
            <li id="fat-menu" class="dropdown">
                <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                    <i class="icon-user"></i> Jack Smith
                    <i class="icon-caret-down"></i>
                </a>

                <ul class="dropdown-menu">
                    <li><a tabindex="-1" href="#">My Account</a></li>
                    <li class="divider"></li>
                    <li><a tabindex="-1" class="visible-phone" href="#">Settings</a></li>
                    <li class="divider visible-phone"></li>
                    <li><a tabindex="-1" href="sign-in.html">Logout</a></li>
                </ul>
            </li>

        </ul>
        <a class="brand" href="index"><span class="second">EShopManager</span></a>
    </div>
</div>

</body>
</html>

<!-- 左边页面 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Insert title here</title>
</head>
<body>


<div id="menuDiv" class="sidebar-nav">

</div>

<script src="static/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
<script type="text/javascript">

    var parent="会员管理";
    var child="查看会员信息";

    var menuArray=[
        {
            id:"book-menu",
            parent:"图书管理",
            icon:"icon-dashboard",
            childList:[
                {name:"查看图书信息",url:"bookmanager.html"},
                {name:"添加图书信息",url:"addbook.html"},
                {name:"回收站",url:"booktrash.html"}
            ]
        },
        {
            id:"ad-menu",
            parent:"促销管理",
            icon:"icon-dashboard",
            childList:[
                {name:"首页轮播",url:"adimg.html"},
                {name:"公告板",url:"adnews.html"}
            ]
        },
        {
            id:"type-menu",
            parent:"分类管理",
            icon:"icon-briefcase",
            childList:[
                {name:"分类列表管理",url:"typemanager.html"}
            ]
        },
        {
            id:"order-menu",
            parent:"订单管理",
            icon:"icon-legal",
            childList:[
                {name:"订单列表",url:"ordermanager.html"},
                {name:"发货单列表",url:"ordersend.html"},
                {name:"退货单列表",url:"orderreturns.html"}
            ]
        },
        {
            id:"account-menu",
            parent:"会员管理",
            icon:"icon-legal",
            childList:[
                {name:"查看会员信息",url:"accountmanager.html"},
                {name:"添加会员",url:"adduser.html"}
            ]
        }
    ];

    function menuClick(currentParent,currentChild){
        parent=currentParent;
        child=currentChild;
        loadMenu();
    }

    function loadMenu(){
        var str="<a href='index' class='nav-header'><i class='icon-comment'></i>首页</a>";
        for(var i=0;i<menuArray.length;i++){
            var obj=menuArray[i];
            str+="<a href='#"+obj.id+"' class='nav-header' data-toggle='collapse'>";
            str+="<i class='"+obj.icon+"'></i>";
            str+=obj.parent;
            str+="</a>";
            str+="<ul id='"+obj.id+"' class='"+(parent==obj.parent?"nav nav-list collapse in":"nav nav-list collapse")+"'>";
            for(var j=0;j<obj.childList.length;j++){
                var childObj=obj.childList[j];
                str+="<li class='"+(child==childObj.name?"active":"")+"'><a onClick='menuClick(\'"+obj.parent+"\',\'"+childObj.name+"\')' href='"+childObj.url+"'>";
                str+=childObj.name;
                str+="</a></li>";
            }
            str+="</ul>";
        }

        $("#menuDiv").html(str);
    }

    $(function(){
        loadMenu();
    });


</script>


</body>
</html>

<div class="content">
    <div class="header">

        <h1 class="page-title">会员管理</h1>
    </div>

    <ul class="breadcrumb">
        <li><a href="accountmanager.jsp">会员管理</a> <span class="divider">/</span></li>
        <li class="active">查看会员信息</li>
    </ul>

    <div class="container-fluid">

        <div class="row-fluid">

            <div class="block">
                <a href="#page-filter" class="block-heading" data-toggle="collapse">筛选</a>
                <div id="page-filter" class="block-body collapse in">
                    <div class="search-well">
                        <form  class="form-inline" role="search"
                               action="#" method="post">
                            <input type="text" class="form-control" placeholder="请输入关键字(模糊查询)"
                                   name="stu_name" />
                            <input type="text" class="form-control"
                                   placeholder="请选择注册时间" id="datepicker" name="date" />
                            <select class="form-control" name="stu_sex">
                                <option value="" selected="selected">--请选择状态--</option>
                                <option value="1">激活</option>
                                <option value="0">未激活</option>
                            </select>
                            <button type="submit" class="btn btn-default"><i class="icon-search"></i> 查询</button>

                        </form>
                    </div>
                </div>
            </div>
        </div>

        <div class="row-fluid">

            <span>共有 <b>99</b> 条记录</span>

            <div class="well">
                <table class="table">
                    <thead>
                    <tr id="theTableTitle">
                        <th>编号</th>
                        <th>用户名</th>
                        <th>邮箱</th>
                        <th>性别</th>
                        <th>电话</th>
                        <th>状态</th>
                        <th>在线</th>
                        <th>注册时间</th>
                        <th>操作</th>
                    </tr>
                    </thead>

                    <tbody>

                    <tr>
                        <td>user_id </td>
                        <td>user_name </td>
                        <td>user_email </td>
                        <td>user_sex </td>
                        <td>user_phone </td>
                        <td>
                            '激活':"未激活"
                        </td>
                        <td>

                            <img src="/static/images/no.gif">


                            <img src="/static/images/yes.gif">

                        </td>
                        <td>
                            time
                        </td>
                        <td>
                            <a href="/books/queryinfo.action?book_id=book_id" title="编辑"><i class="icon-pencil"></i></a>
                            <a href="javascript:deleteClick(book_id })" title="删除"><i class="icon-remove"></i></a>
                        </td>
                    </tr>
                    </c:forEach>
                    </tbody>

                </table>
            </div>
            <div class="pagination pagination myul">
                <ul>
                    <li class='disabled'><a href="#">&laquo;首页</a></li>
                    <li class='disabled'><a href="#">上一页</a></li>
                    <li><a href="#">1</a></li>
                    <li class='active'><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">下一页</a></li>
                    <li><a href="#">尾页&raquo;</a></li>
                </ul>
            </div>




        </div>

        <!-- 底部页面 -->
        <!DOCTYPE html>
        <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Insert title here</title>
            <link rel="stylesheet" type="text/css" href="static/lib/bootstrap/css/bootstrap.css" />
            <link rel="stylesheet" type="text/css" href="static/stylesheets/theme.css" />
            <link rel="stylesheet" href="static/lib/font-awesome/css/font-awesome.css" />
            <script src="static/lib/jquery-1.7.2.min.js" type="text/javascript"></script>
        </head>
        <body>

        <footer>
            <hr>
            <!-- Purchase a site license to remove this link from the footer: http://www.portnine.com/bootstrap-themes -->
            <p class="pull-right">
                <a href="http://www.lanqiao.org/" target="_blank">蓝桥网版权所有</a>
            </p>

            <p>
                京公网安备 11010802020352号 © Copyright 2018
            </p>
        </footer>

        <script src="static/lib/bootstrap/js/bootstrap.js"></script>

        </body>
        </html>
    </div>


</div>

<script src="${pageContext.request.contextPath }/static/lib/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript">
    $("[rel=tooltip]").tooltip();
    $(function() {
        $('.demo-cancel-click').click(function() {
            return false;
        });
    });
</script>

</body>
</html>

